home *** CD-ROM | disk | FTP | other *** search
- Path: etek.chalmers.se!chalmers.se!sunic!mcsun!uunet!gatech!concert!sas!mozart.unx.sas.com!walker
- From: walker@twix.unx.sas.com (Doug Walker)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: How do you get a SINGLE character read?
- Message-ID: <BvG2uC.GAE@unx.sas.com>
- Date: 1 Oct 92 13:30:12 GMT
- References: <1992Sep28.164347.13534@scic.intel.com> <jow.01xk@hcast.adsp.sub.org>
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Organization: SAS Institute Inc.
- Lines: 24
- Originator: walker@twix.unx.sas.com
- Nntp-Posting-Host: twix.unx.sas.com
-
-
- In article <jow.01xk@hcast.adsp.sub.org>, jow@hcast.adsp.sub.org (Juergen Weinelt) writes:
- |> In article <1992Sep28.164347.13534@scic.intel.com> gatlin@scic.intel.com (Robert Gatlin) writes:
- |> >I am writting a program in C (Lattice) and need to read a single
- |> >character from the keyboard without having to wait for the user
- |> >to hit <CR>. I have tried to use the ansii getc() function, but
- |> >obviously waits for a <CR>. The I*M version of Turbo C has a
- |> >non-ansii standard function getch() which does what I want. Is
- |> >a similar function or workaround available for Amiga C?
-
- Check out RawIO on Fred Fish disk #85 (Yes, 85). It contains
- source to a function to change the console window to raw mode
- based on a Lattice C filehandle. This still works with Lattice
- and SAS/C version 5.x. Under 6.0, functions are provided in the
- library to do this.
-
- --
- *****
- =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
- *|. o.| || 1200/2400/9600 Dual
- | o |// For all you do, this bug's for you!
- ======
- usenet: walker@unx.sas.com bix: djwalker
- Any opinions expressed are mine, not those of SAS Institute, Inc.
-